package com.example.administrator.runbook.findfragment.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.example.administrator.runbook.R;

/**
 * Created by 俊峰 on 2016/11/8.
 */

public class DescHolder extends RecyclerView.ViewHolder {

    private TextView itemDesc;
    private TextView itemNumber;
    private RelativeLayout mRelativeLayout;

    public DescHolder(View itemView) {
        super(itemView);
        initView();
    }

    private void initView() {
        itemDesc = (TextView) itemView.findViewById(R.id.find_desc_item_desc);
        itemNumber = (TextView) itemView.findViewById(R.id.find_desc_item_desc_number);
        mRelativeLayout = (RelativeLayout) itemView.findViewById(R.id.find_desc_item_all);
    }

    public TextView getItemDesc() {
        return itemDesc;
    }

    public TextView getItemNumber() {
        return itemNumber;
    }

    public RelativeLayout getRelativeLayout() {
        return mRelativeLayout;
    }
}
